<html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
	</head>
		<body>
<script>		

var myObject       = new Object();
myObject.openid    = "ljkhgkhkjhkh";
myObject.latitude  = "20.654546545";
myObject.longitude = "10.565202545";
myObject.altitude  = "20.135453421";

var myString = JSON.stringify(myObject);
var data = "request="+myString;

$.ajax({
		cache: false,
		type: "post",
		url: "http://localhost/collect/",
		dataType: "json",
		data: data,
		success: function(obj) {}
});
	
</script>	
	
		</body>
</html>